// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from '../../router/pc/index'
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import api from './libs/api';
import server from './libs';
import cookie from 'cookie';
import axios from 'axios';

Vue.use(iView);
Vue.config.productionTip = false
Vue.prototype.$ajax = server;
Vue.prototype.$api = api;
Vue.prototype.$axios = axios;
Vue.prototype.$cookie = cookie;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
